Skip to content

refactor: Make the cursor use the focus manager for tracking the current node.#9142

Merged
gonfunko merged 1 commit intoRaspberryPiFoundation:developfrom
gonfunko:no-cur-node
Jun 13, 2025
Merged

refactor: Make the cursor use the focus manager for tracking the current node.#9142
gonfunko merged 1 commit intoRaspberryPiFoundation:developfrom
gonfunko:no-cur-node

Conversation

@gonfunko
Copy link
Contributor

The basics

The details

Resolves

This PR fixes RaspberryPiFoundation/blockly-keyboard-experimentation#584, but more generally updates the cursor to no longer track its own state wrt the actively focused element, but instead defer to the FocusManager. This also allows Marker and MarkerManager to be trivially deleted, but I'm leaving them for now to avoid breaking changes.

Copy link
Collaborator

@rachel-fenichel rachel-fenichel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, go for it.

@gonfunko gonfunko merged commit fd5a7f4 into RaspberryPiFoundation:develop Jun 13, 2025
11 checks passed
@gonfunko gonfunko deleted the no-cur-node branch June 13, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Workspace context menu does not open when focusing an empty workspace (first time only)

2 participants